<template>
  <div>
    <test-child :obj="obj"></test-child>
  </div>
</template>
<script setup lang="ts">
import TestChild from "@components/testChild/TestChild.vue";
import { reactive } from 'vue'
const obj = reactive({
  a: 1,
  b: 2,
})
</script>
<!-- <script>
import TestChild from "@components/testChild/TestChild.vue";
import { defineComponent } from 'vue'
export default defineComponent({
  name: "TestParentChild",
  components: {
    TestChild,
  },
  data: function () {
    return {
      obj: {
        a: 1,
        b: 2,
      },
    };
  },
});
</script> -->
